package task09;

/**
 * @author Administrator
 */
public class FOR_zhengchu {
    public static void main(String[] args) {
 int num=0;


//        先把三位数拆分成个十百
       for(int x=1;x<=1000;x++)
        {
           if(x%3==2 & x%5==3 & x%7==2)
           {
               num++;

           }
        }
        System.out.println("个数为"+num);
    }
}
